package sctu.edu.java.year2016.team07.nieying.practice.Review;

/**
 * Created by Administrator on 2016/6/15 0015.
 */
public class GetSum {
    public static void main(String[] args){
        int x=1;
        int sum=0;
        while(x<=10){
            sum=sum+x;
            x++;
        }
        System.out.println(""+sum);
    }
}
